<?php
namespace app\model\mongo;

use app\model\mongo\traits\MongoMethod;
use const support\INT;
use const support\STRING;

class AgreementMongo extends BaseMongo{

    use MongoMethod;

    protected $table = 'agreements';

    static $fields=[
        'title'		    =>STRING,
        'code'		    =>STRING,
        'content'  		=>STRING,
        'create_time' 	=>INT,
        'update_time'   =>INT,
        'status'        =>INT
    ];
}